package com.bookstore.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author :Cofe
 * @Date 2022/4/21 19:39
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private int bid;
    private String book_name;
    private Double book_balance;
    private int user_uid;         //用户的id 用来查询用户的各种信息
    private String book_pic;
    private int buy_id;          //订单编号
    private Double book_membalance; //购买的价格
    private String user_name;      //用户编号
    private String book_status; //已签收还是未签收
    UserMessage userMessage;    //用户信息
    private String order_address;   //该订单的收货地址
    private String order_phone; //该订单使用的电话
}
